package cn.iocoder.yudao.module.trade.service.drainage;

import cn.iocoder.yudao.framework.quartz.core.handler.JobHandler;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class VivoDrainageTokenExpireJob implements JobHandler {

    @Resource
    private VivoDrainageServiceImpl vivoDrainageService;

    @Override
    public String execute(String param) throws Exception {
        String value = vivoDrainageService.getToken();
        return String.format("获取到的accessToken: %s", value);
    }
}
